package pers.lls.im.core.common.bean;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author lihuan
 * @version V1.0 创建时间：2019/8/02
 * Copyright 2019 by landray & STIC
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum TransType {

    /**传输类型*/
    REGISTRY(1, "注册"),
    SEND_TO_ONE(2, "发送到个人"),
    SEND_TO_GROUP(3, "发送群消息"),
    SEND_FILE(4, "发送文件"),
    UNREAD_MESSAGE(5, "未读消息数"),
    DELETE_UNREAD(6, "删除未读消息"),
    HEARTBEAT(7, "心跳");
    Integer code;
    String name;

}
